package com.pcbly.web.business.system;

/**
 * @author carl.song
 * Copyright (c) 2010 Lightsoft, International.
 * All rights reserved.
 *
 */

import java.util.List;

import com.pcbly.web.bean.system.ModuleBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface ModuleService extends BaseService<ModuleBean> {

	ModuleBean getModuleBeanById(String id) throws Exception;

	void removeModuleBeanById(String id) throws Exception;

	void removeModuleBeanByIds(String ids) throws Exception;

	ModuleBean saveModuleBean(ModuleBean system) throws Exception;

	ModuleBean updateModuleBean(ModuleBean system) throws Exception;

	Page<ModuleBean> findModuleBeanByCond(ModuleBean bean,
			Page<ModuleBean> page, String orderByName, boolean asc)
			throws Exception;

	List<ModuleBean> findModuleBeansByCond(String menuId) throws Exception;
}